/**
 * 
 */
package com.kaixin001.tk.util;

import java.net.UnknownHostException;

/**
 * @author yuntxu
 *
 */
public class ProxyChecker {
	
	public static boolean isProxyVaild(String proxy)
	{
		try {
			java.net.InetAddress.getAllByName(proxy);
			return true;
		} catch (UnknownHostException e) {
			return false;
		}
	}

}
